@import "../bower_components/fontawesome/web-fonts-with-css/css/fontawesome-all.min.css";
@import "../bower_components/jgrowl/jquery.jgrowl.min.css";
@import "../bower_components/datatables/media/css/dataTables.foundation.min.css";
@import "../bower_components/vis/dist/vis.min.css";

@import "settings";
@import "foundation";

@include foundation-everything;

@include foundation-progress-element;
@include foundation-meter-element;


@mixin thin-font {
  font-weight: 300;
  color: $black;
}

@mixin thin-font-size {
  font-size: 1.2rem;
}

@import './advanced-section';
@import './boxes';
@import './fieldset';
@import './jgrowl';
@import './labels';
@import './layout';
@import './menu';
@import './provision';
@import './range-slider';
@import './table';
@import './tabs';
@import './vcenter';
@import './tree';
@import './helper-classes';
@import './tooltips';
@import './visjs';
@import './flot';
@import './login';
@import './backups';



//@font-face {
//  font-family: 'Open Sans';
//  font-style: normal;
//  font-weight: 200;
//  font-stretch: condensed;
//  src: local('Open Sans'), local('OpenSans'), url('opensans/opensans.woff') format('woff');
//}

/* From https://www.google.com/fonts/specimen/Lato */
/* latin-ext */
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: local('Lato Hairline'), local('Lato-Hairline'), url(https://fonts.gstatic.com/s/lato/v11/eFRpvGLEW31oiexbYNx7Y_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: local('Lato Hairline'), local('Lato-Hairline'), url(https://fonts.gstatic.com/s/lato/v11/GtRkRNTnri0g82CjKnEB0Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(https://fonts.gstatic.com/s/lato/v11/dPJ5r9gl3kK6ijoeP1IRsvY6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(https://fonts.gstatic.com/s/lato/v11/EsvMC5un3kjyUhB9ZEPPwg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/UyBMtLsHKBKXelqf4x7VRQ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v11/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/ObQr5XYcoH0WBoUxiaYK3_Y6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v11/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: local('Lato Black'), local('Lato-Black'), url(https://fonts.gstatic.com/s/lato/v11/R4a6fty3waPci7C44H8AjvY6323mHUZFJMgTvxaG2iE.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: local('Lato Black'), local('Lato-Black'), url(https://fonts.gstatic.com/s/lato/v11/tI4j516nok_GrVf4dhunkg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  color: $headers-color;
  padding: 1rem 0;
  /* box-shadow: 0 5px 5px -4px rgba(0,0,0,0.1); */
  /* border-bottom: 1px solid #dfdfdf; */

}

.thin-font {
  //@include thin-font;
  //@include thin-font-size;
  color: $light-black;
}

a {
  font-weight: normal;
}

.button {
  font-weight: bold;
  margin-right: 0.2rem;
  box-shadow: 0 2px 5px 1px rgba(0,0,0,0.1);
}

.label {
  font-weight: normal;
}

label.secondary.is-invalid-label {
  background-color: $form-label-color-invalid;
}

input,
select,
textarea {
  font-weight: normal;
  color: $light-black;
}

.right {
  float: right !important; 
}

.left {
  float: left !important; 
}

.graph {
  height: rem-calc(100px);
}

.graph_provision {
  height: rem-calc(80px);
}

.dropdown-pane {
  width: auto;
  max-width: 300px;
}

.hide {
  display: none;
}

meter {
  margin-bottom: 0;
  -webkit-appearance: slider-horizontal;
}

.disk-resize-icon {
  margin: 0.3em;
}

.log-tab {
  background: $bg-log-tab;
  color: $log-tab-color;
  padding: 20px;
}

.primary-color {
  color: $primary-color;
}
.secondary-color {
  color: $secondary-color;
}
.success-color {
  color: $success-color;
}
.warning-color {
  color: $warning-color;
}
.alert-color {
  color: $alert-color;
}

.memory_input .mb_input_wrapper {
  display: flex;
  align-items: center;
}

.mb_input {
  width: 100%;
}

.mb_input_unit {
  width: 4em;
}

.input-group-button{
  vertical-align: top;
}

select.mb_input_unit {
  margin-bottom: 0px;
}

.superHide{
  display: none !important;
}

.dataTable{
  tr{
    vertical-align: top;
  }
  &.fixed {
    table-layout: fixed;
    td {
      word-break: break-word;
    }
  }
}
.jGrowl-message{
  display: -webkit-box;
  max-height: 28rem;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4rem;
}

ul.dropdown-menu-css {
  position: relative;
  margin: 0;
  list-style: none;

  & > li:first-child {
    word-break: break-all;
  }

  & > .menu-hide {
    display: none;
    position: absolute;
    background-color: $white;
    padding: 1em;
    -webkit-box-shadow: 5px 5px 10px 0px $black;
    -moz-box-shadow: 5px 5px 10px 0px $black;
    box-shadow: 5px 5px 10px 0px $black;
    z-index: 999999;

    & ul{
      margin: 0;
      list-style: none;

      & > li{
        white-space: nowrap;
      }

      & > li.display-list{
        display: list-item;
      }

      & > li.margin-tlr-1{
        margin-top: 1em;
        margin-left: 1em;
        margin-right: 1em;
      }
    }
  }

  & > li.menu-hide.upper {
    top: 0;
  }

  &:hover > li {
    display: block;
  }
}

.sunstone-menu-content{
  resize: horizontal;
  overflow: auto;
}

@media screen and (min-width: 64em){
  .medium-hide {
      display: none !important;
  }
}

#dataTableMarketplaceApps{
  td{
    word-break: normal;
  }
}

// Styles for remote consoles buttons
.remote-logo-dropdown {
  border-radius: 50%;
  padding: 0.2em;
  height: 2em;
  width: 2em;
  display: inline-block;
  margin-right: 0.5em;
  border-color: black;
  border-width: thin;
  border-style: solid;

  img{
      max-width: 100%;
      height: auto;
      display: inline-block;
      vertical-align: middle;
  }
}
